package com.gopay.common.user.manager.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.common.domain.cauth.CAuthOperRoleRel;
import com.gopay.common.user.dao.CauthOperRoleRelDAO;
import com.gopay.common.user.manager.CauthOperRoleRelManager;

/**
 * 用户角色定义Manager实现
 * 
 * @CauthOperRoleRelManagerImpl.java
 * @author yaobo
 * @2013-8-5 上午10:34:36 www.gopay.com.cn Inc.All rights reserved.
 */
@Service("cauthOperRoleRelManager")
public class CauthOperRoleRelManagerImpl implements CauthOperRoleRelManager {

    @Resource(name = "cauthOperRoleRelDao")
    private CauthOperRoleRelDAO cauthOperRoleRelDao;

    @Override
    public CAuthOperRoleRel getCauthOperRoleRel(String operId, String roleId) {
        return cauthOperRoleRelDao.getCauthOperRoleRel(operId, roleId);
    }

}